package com.koro.service;

import com.koro.dto.FindGoodsDTO;
import com.koro.dto.SaveGoodsDTO;
import com.koro.vo.FindGoodsVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface GoodsService {

    Integer save(SaveGoodsDTO dto);

    List<FindGoodsVO> findAll(FindGoodsDTO dto);

    FindGoodsVO findById(FindGoodsDTO dto);

    Integer importExcel(MultipartFile uploadFile);

    void downLoad(HttpServletResponse response);

    void synGoodsES();
}
